package _2ChapterTwo._1MoveMethod.newObject.methodTwo;

public class Account {
    AccountType _accountType;
    int _daysOverdrawn;

    public double overdraftCharge() {
        return _accountType.overdraftCharge(this);
    }

    public double bankCharge() {
        double result = 4.5;
        if (_daysOverdrawn > 0) {
            result += overdraftCharge();
        }
        return result;
    }

}
